package com.qqls.youxiangousys.pj.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor//无参
@AllArgsConstructor//有参
public class SysCarousel implements Serializable {
    private int id;
    private String carouselImg;//轮播图
    private String carouselSrc;//轮播路径
    private String carouselTitle;//轮播标题
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String createdTime;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private String modifiedTime;//修改时间
    private int carState = 1;//状态
}
